# $Id: PKGBUILD 81980 2013-01-05 08:44:35Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: damir <damir@archlinux.org>

pkgname=mpck
pkgver=0.19
pkgrel=2
license=('GPL')
pkgdesc="Reads MP3 files and tries to determine if they are correct"
arch=('i686' 'x86_64')
url="http://checkmate.gissen.nl/"
depends=('glibc')
source=("http://checkmate.gissen.nl/checkmate-${pkgver}.tar.gz")
md5sums=('f72114b0982a101b68ddeb65f99b84f7')

build() {
  cd "${srcdir}/checkmate-${pkgver}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/checkmate-${pkgver}"

  make prefix="${pkgdir}/usr" install
}
